@echo off

rem extract image and width data from FTCX
fcopy.exe -e  0218.FTCX  0218.raw   0x40    0x3600
rem                                   64    13824
fcopy.exe -e  0218.FTCX  0218.wdt   0x3640  0xD0

rem extract image planes.... (multiple palette format image)
moshe.exe     0218.raw

fcopy.exe -i  h128x216x4.bmp  118  FontA.raw
if not exist  fontA.bmp  copy  h128x216x4.bmp  fontA.bmp
bmpdata.exe  -s  h128x216x4.bmp  fontA.bmp  118

fcopy.exe -i  h128x216x4.bmp  118  FontB.raw
if not exist  fontB.bmp  copy  h128x216x4.bmp  fontB.bmp
bmpdata.exe  -s  h128x216x4.bmp  fontB.bmp  118


pause
exit

fcopy.exe -e  h128x216x4.bmp
FontA.raw    
FontB.raw


bmpdata.exe  -s  insert.bmp  insert2.bmp  118
pause